package ch03.shiLi;

import ch03.shiLi.AbstracFactory;
import ch03.shiLi.dao.NewsDao;
import ch03.shiLi.dao.impl.NewsDaoMySqlImpl;

//示例5
public class MySqlDaoFactory implements AbstracFactory {
    @Override
    public NewsDao getInstance() {
        return new NewsDaoMySqlImpl();

    }
}
